<?php echo anchor(base_url(),"Home");?>
<?php echo validation_errors();?>
<?php echo form_open("resource/Resource/update");?>

<input type="hidden" name="id" id="id" value="<?php echo set_value('id', $id);?>"/>
<input type="hidden" name="action" id="action" value="save"/>

<table>
  <tr>
    <td><label for="name">Role</label></td>
    <td><input type="text" name="name" id="name" value="<?php echo set_value('name', $name);?>"/></td>
  </tr>
  <tr>
    <td><label for="description">Description</label></td>
    <td>
		<textarea name="description" id="description"><?php echo set_value('description', $description);?></textarea>    	
    </td>
  </tr>
  <tr>
  	<td><p><input type="submit" value="Update"/></td>
  	<td></td>
  </tr>
</table>
<?php echo form_close();?>
